<template>
  <div class="common-row">
    <div>
      <span>{{title}}</span>
    </div>
      <slot></slot>
      <span>＞</span>
  </div>
</template>

<script setup lang='ts'>

const props = defineProps<{  
  title: string
 
}>()

</script>

<style lang="less">
.common-row {
  height: 1.4rem;
  border-bottom: 1px solid #ccc;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;

  & > div {
    display: flex;
    flex: 1;
    align-items: center;
    
  }

  & span {
    font-size: .32rem;
    color: #ccc;
    &:last-of-type {
      margin-left: .2rem;
    }

  }

  


}

</style>